#-------------------------------------------------
#
# Project created by QtCreator 2016-12-02T22:39:42
#
#-------------------------------------------------

#DEFINES  += D_USE_ROS

QT       += xml
QT += multimedia serialport network
TARGET = LogicalAgvInstruction
TEMPLATE = lib

DEFINES += LOGICALAGVINSTRUCTION_LIBRARY
CONFIG += staticlib


INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD


INCLUDEPATH +=../ModbusService
INCLUDEPATH +=../ProgramSet
LIBS += -L../../lib -lProgramSet
INCLUDEPATH +=../ProgramEngine
LIBS += -L../../lib -lProgramEngine
INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH += ../../include/
INCLUDEPATH += ../../include/actions/INC
INCLUDEPATH += ../../include/actions/INC/Linux
INCLUDEPATH += ../../include/ethercat-igh
#INCLUDEPATH += ../../include/alLib
INCLUDEPATH += /usr/local/include/modbus/

INCLUDEPATH +=../EcatCore
INCLUDEPATH +=../DomParser
INCLUDEPATH +=../Md5Check
INCLUDEPATH +=../HmiGsoapQt
#INCLUDEPATH +=../VrepRemoteControlor
#INCLUDEPATH +=../WebServer
#INCLUDEPATH +=../Coordinate
INCLUDEPATH +=../PointData
INCLUDEPATH +=../MessageLog
INCLUDEPATH += ../TcpManager
#INCLUDEPATH +=../InternalSafe
#INCLUDEPATH +=../JointDecouple
#INCLUDEPATH +=../MotorInterface
#INCLUDEPATH +=../PalletCalculate
#INCLUDEPATH +=../ControlLoop
INCLUDEPATH +=../RegData
INCLUDEPATH +=../CoordinateModule/
INCLUDEPATH +=../AxisObject/
INCLUDEPATH +=../MotionServer
#INCLUDEPATH +=../TrajectoryScale
#INCLUDEPATH += ../../include/
#INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH += ../GlobalManager
LIBS += -L../../lib -lGlobalManager
INCLUDEPATH += ../RobotiqTool
LIBS += -L../../lib -lRobotiqTool
INCLUDEPATH += ../PowerManager
LIBS += -L../../lib -lPowerManager

INCLUDEPATH +=../FleetService



INCLUDEPATH +=../McControllerInterpreter
LIBS += -L../../lib -lMcControllerInterpreter


INCLUDEPATH +=../../../ModbusService



＃DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS #为什么其它库pro也要定义这个才起作用。


contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
}
contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")

}
contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
}



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR =../../lib/x86_WINDOWS
#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_windows
MOC_DIR +=../../build/tmpBuildDirectory_windows
OBJECTS_DIR += ../../build/tmpBuildDirectory_windows
RCC_DIR += ../../build/tmpBuildDirectory_windows
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR =../../lib

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory
MOC_DIR +=../../build/tmpBuildDirectory
OBJECTS_DIR += ../../build/tmpBuildDirectory
RCC_DIR += ../../build/tmpBuildDirectory
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR =../../lib-arm

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_arm
MOC_DIR +=../../build/tmpBuildDirectory_arm
OBJECTS_DIR += ../../build/tmpBuildDirectory_arm
RCC_DIR += ../../build/tmpBuildDirectory_arm
}

HEADERS += \
    movefreeinstructionlogic.h \
    movemagneticinstructionlogic.h \
    musicinstructionlogic.h \
    robotmoveinstructionlogic.h \
    rollerinstructionlogic.h \
    setodominstructionlogic.h \
    charginginstructionlogic.h \
    checkbatteryinstructionlogic.h \
    liftmechanisminstructionlogic.h \
    loadmapinstructionlogic.h \
    waitcommandinstructionlogic.h

SOURCES += \
    movefreeinstructionlogic.cpp \
    movemagneticinstructionlogic.cpp \
    musicinstructionlogic.cpp \
    robotmoveinstructionlogic.cpp \
    rollerinstructionlogic.cpp \
    setodominstructionlogic.cpp \
    charginginstructionlogic.cpp \
    checkbatteryinstructionlogic.cpp \
    liftmechanisminstructionlogic.cpp \
    loadmapinstructionlogic.cpp \
    waitcommandinstructionlogic.cpp

